export JVM_OPTIONS="-showversion -verbose:gc -verbose:jni -verbose:class -XshowSettings:all -Xverify:none -XX:+UnlockDiagnosticVMOptions  -XX:LogFile=./jvm.log -XX:+PrintClassHistogram"
if [ "$1" = "spring" ];then
    java ${JVM_OPTIONS} -jar build/libs/longpoll-spring.jar
else
    java ${JVM_OPTIONS} -cp build/libs/longpoll.jar cn.qpyl.longpoll.${1}.Main
fi